package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.pojo.Employee;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;

public interface EmployeeService extends IService<Employee> {
   R<Employee> getEmployeeR(HttpServletRequest request, Employee employee);
    R<String> getStringR(HttpServletRequest request, Employee employee);
    R<Page> getPageR(int page, int pageSize, String name);
    R<String> getStringA(HttpServletRequest request, Employee employee);
    R<Employee> getEmployeeR(Long id);
}
